﻿<Window x:Class="SQLDataTransferer.Common.Dialogs.ProgressDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Buzy..."
        Width="400"
        Height="180"
        WindowStartupLocation="CenterOwner"
        AllowsTransparency="True"
        Opacity="1"
        WindowStyle="None"
        Background="{x:Null}"
        ShowInTaskbar="False">
    <Border Style="{StaticResource bBorder}">
        <Grid>
            <ProgressBar Margin="8,0,12,52"
                   x:Name="progressBar"                   
                   VerticalAlignment="Bottom"
                   Height="25" />
            <Image Margin="10,8,0,0"
                   x:Name="imgStatus"
                   Stretch="None"
                   Source="SQLDataTransferer;component/Images/Progress.png"
                   VerticalAlignment="Top"
                   HorizontalAlignment="Left"
                   Width="150"
                   Height="150"
                   Opacity="0.715" />
            <TextBlock Margin="100,8,10,0"
                       Text="Buzy..."
                       x:Name="txtDialogMessage"
                       VerticalAlignment="Top"
                       Height="Auto"
                       FontSize="14"
                       TextWrapping="Wrap" />
            <DockPanel Height="25"
                       VerticalAlignment="Bottom"
                       Margin="10,0,12,13">
                <Button x:Name="btnCancel"
                        Click="btnCancel_Click"
                        Visibility="Collapsed"
                        Content="Cancel"
                        DockPanel.Dock="Right"
                        Width="80"
                        Margin="10,0,0,0"
                        HorizontalAlignment="Right" />
                <Label x:Name="lblStatus"
                       Content="Please wait ..." />
            </DockPanel>
        </Grid>
    </Border>
</Window>
